package com.jwsoft.manager.core.integration.eduAddressTree.impl;

import com.jwsoft.manager.common.vo.eduAddressTree.AddressVO;
import com.jwsoft.manager.common.vo.eduSchool.EduSchoolVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author zhiyuan
 * @Date 2024/1/19 16:12
 */
@Data
@Schema(name = "AddressReqVO", title = "地址格式化请求body", description = "地址格式化请求body")
public class AddressInfoAndSchool extends AddressVO {

    /**
     * 地址匹配到的学区信息
     * key:schoolCategory
     * 1:幼儿园
     * 2:小学
     * 3:初中
     */
    @Schema(name = "matchSchools", title = "地址匹配到的学区信息，key为schoolCategory")
    private Map<String, List<EduSchoolVO>> matchSchools;
}
